package com.yong.wsdl;

import com.yong.domain.WinGenerator;

import javax.jws.WebService;
import java.util.ArrayList;
import java.util.List;

/**
 * create by yongli on 2022-04-22 10:58
 */


@WebService(name = "crmInterface",targetNamespace = "com/yong/wsdl",serviceName = "crm")
public class CrmInterfaceImpl implements CrmInterface {
    @Override
    public List<WinGenerator> get(String name, String num) {
        List<WinGenerator> ls = new ArrayList<>();
        ls.add(new WinGenerator("china-1223"));
        return ls;
    }

    @Override
    public Boolean add(WinGenerator winGenerator) {
        return true;
    }
}
